home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / ProgramFilesFolder / Data / Menu / uidef / ListBox.def < prev    next >
Encoding:
Text File  |  2006-02-02  |  8.5 KB  |  299 lines

  1. !Include("UI.def")
  2.  
  3. ControlObject("UIListBox","ListBox","Pattern")
  4. {
  5.     ListBoxCapacity(12)
  6.     Command(1)
  7.     Notify(1)
  8.     CanFocus(1)
  9.     TextureFocusAlpha(1.0)
  10.     TextFocusAlpha(1.0)
  11.     SelKeyUp(0)
  12.     SelKeyDown(0)
  13.     Text("")
  14.     TextAlpha(1.0)
  15. //    TextColor(1.0,1.0,1.0)
  16.     TextColor(1.0,0.61,0.02)
  17.     Font("MenuSmall")
  18.     FontScale(0.5)
  19.     TextPosFlags(34)
  20.     PatternFile("../uidef/ListBox.def")
  21.     Mouse(1)
  22.     Keyboard(1)
  23.     Joy(1)
  24.     Visible(1)
  25.     ParentPositioning(1)
  26.     PreviousElemPositioning(0)
  27.     ParentAlignX(4)
  28.     ParentAlignY(4)
  29.     ParentSizingX(0)
  30.     ParentSizingY(0)
  31.     TextureAlpha(1.0)
  32.     LogicSize(0.4325,0.64)
  33.     LogicPos(-172.0,-191.0)
  34.  
  35.     Menu("UIMenu","ID_LIST","Specific")
  36.     {
  37.         Command(1)
  38.         Notify(1)
  39.         CanFocus(1)
  40.         TextureFocusAlpha(1.0)
  41.         TextFocusAlpha(1.0)
  42.         SelKeyUp(0)
  43.         SelKeyDown(0)
  44.         Text("")
  45.         TextAlpha(1.0)
  46. //        TextColor(1.0,1.0,1.0)
  47.         TextColor(1.0,0.61,0.02)
  48.         Font("MSSansSerif8")
  49.         TextPosFlags(34)
  50.         PatternFileElem()
  51.         Mouse(1)
  52.         Keyboard(1)
  53.         Joy(1)
  54.         Visible(1)
  55.         ParentPositioning(1)
  56.         PreviousElemPositioning(0)
  57.         ParentAlignX(-1)
  58.         ParentAlignY(4)
  59.         ParentSizingX(0)
  60.         ParentSizingY(0)
  61.         FrameCornerSize(2,2)
  62.         TextureID("BoxNoBackWhite")
  63.         TextureAlpha(1.0)
  64.         LogicSize(0.415,0.54)
  65.         LogicPos(0.0,0.0)
  66.  
  67.         MenuButton("UIMenuButton","ID_BUTTON","","","Specific")
  68.         {
  69.             Checked(0)
  70.             Disabled(0)
  71.             CanCallPress(0)
  72.             CanCheck(1)
  73.             MouseLeaveDestroyFocus(1)
  74.             CheckSound("data/sounds/click")
  75.             TextureCheckedID("BoxWhiteBack")
  76.             TextureCheckedAlpha(1.0)
  77.             TextCheckedAlpha(1.0)
  78.             TextureDisabledAlpha(1.0)
  79.             TextDisabledAlpha(1.0)
  80.             TextureFocusCheckAlpha(1.0)
  81.             TextFocusCheckAlpha(1.0)
  82. //            TextCheckedColor(1.0,1.0,1.0)
  83.             TextCheckedColor(1.0,0.61,0.02)
  84.             CallPressPeriod(0.1)
  85.             DoubleClick(0.3)
  86.             Command(1)
  87.             Notify(0)
  88.             CanFocus(0)
  89.             TextureFocusAlpha(1.0)
  90.             TextFocusAlpha(1.0)
  91. //            TextHighLightColor(1.0,1.0,1.0)
  92.             TextHighLightColor(1.0,0.61,0.02)
  93.             SelKeyUp(0)
  94.             SelKeyDown(0)
  95.             FocusSound("data/sounds/highlight")
  96.             Text("")
  97.             TextAlpha(1.0)
  98. //            TextColor(1.0,1.0,1.0)
  99.         TextColor(1.0,0.61,0.02)
  100.             Font("TextFont")
  101.             TextPosFlags(34)
  102.             PatternFileElem()
  103.             Mouse(1)
  104.             Keyboard(1)
  105.             Joy(1)
  106.             Visible(0)
  107.             ParentPositioning(1)
  108.             PreviousElemPositioning(0)
  109.             ParentAlignX(-1)
  110.             ParentAlignY(-1)
  111.             ParentSizingX(0)
  112.             ParentSizingY(0)
  113.             FrameCornerSize(2,2)
  114.             TextureAlpha(1.0)
  115.             LogicSize(0.415,0.053333335)
  116.             LogicPos(0.0,0.0)
  117.         }// [UIMenuButton] ID_BUTTON
  118.     }// [UIMenu] ID_LIST
  119.  
  120.     ControlObject("UIListBoxScrollBar","ID_SCROLL","Specific")
  121.     {
  122.         Command(1)
  123.         Notify(1)
  124.         CanFocus(0)
  125.         TextureFocusAlpha(1.0)
  126.         TextFocusAlpha(1.0)
  127.         SelKeyUp(0)
  128.         SelKeyDown(0)
  129.         Text("")
  130.         TextAlpha(1.0)
  131. //        TextColor(1.0,1.0,1.0)
  132.         TextColor(1.0,0.61,0.02)
  133.         Font("MSSansSerif8")
  134.         TextPosFlags(34)
  135.         PatternFileElem()
  136.         Mouse(1)
  137.         Keyboard(1)
  138.         Joy(1)
  139.         Visible(1)
  140.         ParentPositioning(1)
  141.         PreviousElemPositioning(0)
  142.         ParentAlignX(-1)
  143.         ParentAlignY(4)
  144.         ParentSizingX(0)
  145.         ParentSizingY(0)
  146.         FrameCornerSize(2,2)
  147.         TextureID("BoxNoBackWhite")
  148.         TextureAlpha(1.0)
  149.         LogicSize(0.01875,0.54)
  150.         LogicPos(0.95953757,0.0)
  151.  
  152.         Button("UIButton","ID_UP","","Specific")
  153.         {
  154.             Checked(0)
  155.             Disabled(0)
  156.             CanCallPress(0)
  157.             CanCheck(0)
  158.             MouseLeaveDestroyFocus(1)
  159.             CheckSound("data/sounds/click")
  160.             TextureCheckedID("ArrowSmallUp")
  161.             TextureCheckedAlpha(1.0)
  162.             TextCheckedAlpha(1.0)
  163.             TextureDisabledAlpha(1.0)
  164.             TextDisabledAlpha(1.0)
  165.             TextureFocusCheckAlpha(1.0)
  166.             TextFocusCheckAlpha(1.0)
  167.             CallPressPeriod(0.1)
  168.             DoubleClick(0.3)
  169.             Command(1)
  170.             Notify(1)
  171.             CanFocus(1)
  172.             TextureFocusAlpha(1.0)
  173.             TextFocusAlpha(1.0)
  174.             SelKeyUp(0)
  175.             SelKeyDown(0)
  176.             FocusSound("data/sounds/highlight")
  177.             Text("")
  178.             TextAlpha(1.0)
  179. //            TextColor(1.0,1.0,1.0)
  180.         TextColor(1.0,0.61,0.02)
  181.             Font("MenuSmall")
  182.             FontScale(0.5)
  183.             TextPosFlags(34)
  184.             PatternFileElem()
  185.             Mouse(1)
  186.             Keyboard(1)
  187.             Joy(1)
  188.             Visible(1)
  189.             ParentPositioning(1)
  190.             PreviousElemPositioning(0)
  191.             ParentAlignX(4)
  192.             ParentAlignY(-1)
  193.             ParentSizingX(0)
  194.             ParentSizingY(0)
  195.             TextureID("ArrowSmallUp")
  196.             TextureAlpha(0.8)
  197.             LogicSize(0.01625,0.016666668)
  198.             LogicPos(0.035714287,0.0)
  199.         }// [UIButton] ID_UP
  200.  
  201.         Button("UIButton","ID_THUMB","","Specific")
  202.         {
  203.             Checked(0)
  204.             Disabled(0)
  205.             CanCallPress(0)
  206.             CanCheck(0)
  207.             MouseLeaveDestroyFocus(1)
  208.             CheckSound("data/sounds/click")
  209.             TextureCheckedAlpha(1.0)
  210.             TextCheckedAlpha(1.0)
  211.             TextureDisabledAlpha(1.0)
  212.             TextDisabledAlpha(1.0)
  213.             TextureFocusCheckAlpha(1.0)
  214.             TextFocusCheckAlpha(1.0)
  215.             CallPressPeriod(0.1)
  216.             DoubleClick(0.3)
  217.             Command(1)
  218.             Notify(1)
  219.             CanFocus(0)
  220.             TextureFocusAlpha(1.0)
  221.             TextFocusAlpha(1.0)
  222.             SelKeyUp(0)
  223.             SelKeyDown(0)
  224.             FocusSound("data/sounds/highlight")
  225.             Text("")
  226.             TextAlpha(1.0)
  227. //            TextColor(1.0,1.0,1.0)
  228.         TextColor(1.0,0.61,0.02)
  229.             Font("MSSansSerif8")
  230.             TextPosFlags(34)
  231.             PatternFileElem()
  232.             Mouse(1)
  233.             Keyboard(1)
  234.             Joy(1)
  235.             Visible(0)
  236.             ParentPositioning(1)
  237.             PreviousElemPositioning(0)
  238.             ParentAlignX(4)
  239.             ParentAlignY(-1)
  240.             ParentSizingX(0)
  241.             ParentSizingY(0)
  242.             FrameCornerSize(3,3)
  243.             TextureID("BoxWhiteBack")
  244.             TextureAlpha(0.8)
  245.             LogicSize(0.01375,0.0)
  246.             LogicPos(0.13333333,0.026041666)
  247.         }// [UIButton] ID_THUMB
  248.  
  249.         Button("UIButton","ID_DOWN","","Specific")
  250.         {
  251.             Checked(0)
  252.             Disabled(0)
  253.             CanCallPress(0)
  254.             CanCheck(0)
  255.             MouseLeaveDestroyFocus(1)
  256.             CheckSound("data/sounds/click")
  257.             TextureCheckedID("ArrowSmallDown")
  258.             TextureCheckedAlpha(1.0)
  259.             TextCheckedAlpha(1.0)
  260.             TextureDisabledAlpha(1.0)
  261.             TextDisabledAlpha(1.0)
  262.             TextureFocusCheckAlpha(1.0)
  263.             TextFocusCheckAlpha(1.0)
  264.             CallPressPeriod(0.1)
  265.             DoubleClick(0.3)
  266.             Command(1)
  267.             Notify(1)
  268.             CanFocus(1)
  269.             TextureFocusAlpha(1.0)
  270.             TextFocusAlpha(1.0)
  271.             SelKeyUp(0)
  272.             SelKeyDown(0)
  273.             FocusSound("data/sounds/highlight")
  274.             Text("")
  275.             TextAlpha(1.0)
  276. //            TextColor(1.0,1.0,1.0)
  277.         TextColor(1.0,0.61,0.02)
  278.             Font("MenuSmall")
  279.             FontScale(0.5)
  280.             TextPosFlags(34)
  281.             PatternFileElem()
  282.             Mouse(1)
  283.             Keyboard(1)
  284.             Joy(1)
  285.             Visible(1)
  286.             ParentPositioning(1)
  287.             PreviousElemPositioning(0)
  288.             ParentAlignX(4)
  289.             ParentAlignY(-1)
  290.             ParentSizingX(0)
  291.             ParentSizingY(0)
  292.             TextureID("ArrowSmallDown")
  293.             TextureAlpha(0.8)
  294.             LogicSize(0.01625,0.016666668)
  295.             LogicPos(0.035714287,0.9739583)
  296.         }// [UIButton] ID_DOWN
  297.     }// [UIListBoxScrollBar] ID_SCROLL
  298. }// [UIListBox] ListBox
  299.